package main

import (
	"fmt"
	"net/http"
)

func main() {
	http.HandleFunc("/", serve)
	err := http.ListenAndServe(":8087", nil)
	if err != nil {
		fmt.Println(err.Error())
	}

}

func serve(w http.ResponseWriter, r *http.Request) {
	w.Write([]byte("hello this is http server"))
}
